package applicationcontextfactory;

import org.springframework.context.ApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;

public class ApplicationContextFactory {
	private static ApplicationContext context;
	public static ApplicationContext getInstance() {
		if(context==null){
			context =  new ClassPathXmlApplicationContext("applicationContent.xml");
		}
		return context;
	}
}
